﻿<UserControl 
    x:Class="DiscoveryLogic.UI.Securities.Logout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
    >
    <Grid x:Name="LoggedInGrid" RenderTransformOrigin="0.5,0.5" Width="330" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="-12,0,0,0">
        <Grid.RenderTransform>
            <TransformGroup>
                <ScaleTransform/>
                <SkewTransform/>
                <RotateTransform/>
                <TranslateTransform X="-340"/>
            </TransformGroup>
        </Grid.RenderTransform>
        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Stroke="#FF83CE00" StrokeThickness="2" RadiusX="10" RadiusY="10"/>
        <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" VerticalAlignment="Stretch" d:LayoutOverrides="Height">
            <TextBlock Text="Hello, Steve White" Foreground="#FF83CE00" Margin="20,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="20"/>
            <Button Content="Log out" Margin="20,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="20" Background="#FF83CE00" Click="LogOut_Button_Click" x:Name="LogOut_Button" Width="Auto"/>
        </StackPanel>
    </Grid>
</UserControl>
